.wrapper{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px;
  cursor: pointer;
  p{
    margin: 0;
  }
}

.selected{
  background-color: rgb(240,240,240);
}

.left{
  margin-right: 14px;
  img{
    background-color: #f6f6f6;
    border-radius: 2px;
    width: 100%;
    height: 100%;
  }
}

.right{
  flex: 1;
  overflow: hidden;
}

.line1{
  display: flex;
  justify-content: space-between;
}

.title{
  font-size: 14px;
  color: #333;
}


.time{
  font-size: 9px;
  color: #d5d5d5;
}

.line2{
  padding-top: 6px;
  font-size: 10px;
  overflow:hidden;
  white-space:nowrap;
  text-overflow:ellipsis;
  max-width: 100%;
  text-align: left;
}

.chat-item-delete {
  position: relative;
  top: 5px;
  right: -15px;
  transition: all ease 0.3s;
  opacity: 0;
  cursor: pointer;
}

.wrapper:hover > .chat-item-delete {
  opacity: 0.5;
  transform: translateX(-10px);
}

.wrapper:hover > .chat-item-delete:hover {
  opacity: 1;
}